gtk4.git
18 years agoAlso reorder menu when reordering tabs by drag & drop (Bug #506474)
Johannes Schmid [Mon, 31 Dec 2007 16:26:18 +0000 (16:26 +0000)]
Also reorder menu when reordering tabs by drag & drop (Bug #506474)

2007-12-30  Johannes Schmid <jhs@gnome.org>

        * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
        Also reorder menu when reordering tabs by drag & drop
        (Bug #506474)

        * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
        Add a menu to one of the notebooks to have a test-case for
        the change mentioned above.

svn path=/trunk/; revision=19294

18 years agoUsing GSlice for GtkTreePath
Philip Van Hoof [Mon, 31 Dec 2007 11:26:55 +0000 (11:26 +0000)]
Using GSlice for GtkTreePath

2007-12-31  Philip Van Hoof  <pvanhoof@gnome.org>

        * gtk/gtktreemodel.c: Using GSlice for GtkTreePath

svn path=/trunk/; revision=19292

18 years agoPlug a mem leak. Bug #506107.
Christian Persch [Mon, 31 Dec 2007 00:04:32 +0000 (00:04 +0000)]
Plug a mem leak. Bug #506107.

2007-12-31  Christian Persch  <chpe@gnome.org>

* gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
Plug a mem leak. Bug #506107.

svn path=/trunk/; revision=19290

18 years agoAdjust to icon cache api change. (#506135, Kazuki Iwamoto)
Matthias Clasen [Sat, 29 Dec 2007 00:14:30 +0000 (00:14 +0000)]
Adjust to icon cache api change. (#506135, Kazuki Iwamoto)

2007-12-28  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
        icon cache api change.  (#506135, Kazuki Iwamoto)

svn path=/trunk/; revision=19289

18 years agoSecond attempt to fix the ChangeLog WTF - by comparing with the commit messages
Mathias Hasselmann [Fri, 28 Dec 2007 22:55:45 +0000 (22:55 +0000)]
Second attempt to fix the ChangeLog WTF - by comparing with the commit messages
in my mailbox. You really shall not write ChangeLog entries by hand: It is
redundant to the SVN log, merge conflicts cost time and it is error prone.

svn path=/trunk/; revision=19288

18 years agoCorrect typo and remove the ChangeLog-WTF, mclasen produced with r19253.
Mathias Hasselmann [Fri, 28 Dec 2007 22:24:48 +0000 (22:24 +0000)]
Correct typo and remove the ChangeLog-WTF, mclasen produced with r19253.

svn path=/trunk/; revision=19287

18 years agoRemove max_detail_height field from GtkCalendarPrivate. (#339540)
Mathias Hasselmann [Fri, 28 Dec 2007 22:11:35 +0000 (22:11 +0000)]
Remove max_detail_height field from GtkCalendarPrivate. (#339540)

* gtk/gtkcalendar.c: Drop max_detail_height field, and use
a local variable instead in gtk_calendar_size_request.

svn path=/trunk/; revision=19286

18 years agoAdd exlusions
Matthias Clasen [Fri, 28 Dec 2007 21:19:11 +0000 (21:19 +0000)]
Add exlusions

svn path=/trunk/; revision=19285

18 years agoMove the gail tests from standalone gail to gtk+. Bug #504568.
Christian Persch [Fri, 28 Dec 2007 20:23:14 +0000 (20:23 +0000)]
Move the gail tests from standalone gail to gtk+. Bug #504568.

svn path=/trunk/; revision=19284

18 years agoMake finalizer more robust
Matthias Clasen [Fri, 28 Dec 2007 19:55:37 +0000 (19:55 +0000)]
Make finalizer more robust

svn path=/trunk/; revision=19283

18 years agoDraw bottom shadow of GtkCalender headings. (#506113)
Mathias Hasselmann [Fri, 28 Dec 2007 19:46:53 +0000 (19:46 +0000)]
Draw bottom shadow of GtkCalender headings. (#506113)

* gtk/gtkcalendar.c: Set proper initial height for priv->header_win.

svn path=/trunk/; revision=19282

18 years agoDocument some initial values
Matthias Clasen [Fri, 28 Dec 2007 19:36:16 +0000 (19:36 +0000)]
Document some initial values

svn path=/trunk/; revision=19281

18 years agoMore default property value fixes
Matthias Clasen [Fri, 28 Dec 2007 19:20:26 +0000 (19:20 +0000)]
More default property value fixes

svn path=/trunk/; revision=19280

18 years agoPlug a mem leak. Bug #506096.
Christian Persch [Fri, 28 Dec 2007 19:18:55 +0000 (19:18 +0000)]
Plug a mem leak. Bug #506096.

2007-12-28  Christian Persch  <chpe@gnome.org>

* gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
a mem leak. Bug #506096.

svn path=/trunk/; revision=19279

18 years agoMore default property value fixes
Matthias Clasen [Fri, 28 Dec 2007 18:10:32 +0000 (18:10 +0000)]
More default property value fixes

svn path=/trunk/; revision=19278

18 years agoMore default property value fixes
Matthias Clasen [Fri, 28 Dec 2007 17:29:53 +0000 (17:29 +0000)]
More default property value fixes

svn path=/trunk/; revision=19277

18 years agoMore default property value corrections
Matthias Clasen [Fri, 28 Dec 2007 17:10:33 +0000 (17:10 +0000)]
More default property value corrections

svn path=/trunk/; revision=19276

18 years agoFix a finalizer issue
Matthias Clasen [Fri, 28 Dec 2007 15:57:14 +0000 (15:57 +0000)]
Fix a finalizer issue

svn path=/trunk/; revision=19275

18 years agoDon't return NULL.
Matthias Clasen [Fri, 28 Dec 2007 15:51:31 +0000 (15:51 +0000)]
Don't return NULL.

2007-12-28  Matthias Clasen  <mclasen@redhat.com>

        * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.

svn path=/trunk/; revision=19274

18 years agoFix default property values
Matthias Clasen [Fri, 28 Dec 2007 15:46:18 +0000 (15:46 +0000)]
Fix default property values

svn path=/trunk/; revision=19273

18 years agoFix default values
Matthias Clasen [Fri, 28 Dec 2007 15:43:51 +0000 (15:43 +0000)]
Fix default values

svn path=/trunk/; revision=19272

18 years agoFix the default value of the curve-type property
Matthias Clasen [Fri, 28 Dec 2007 15:21:24 +0000 (15:21 +0000)]
Fix the default value of the curve-type property

svn path=/trunk/; revision=19271

18 years agoFix the default value of enable-arrows-always
Matthias Clasen [Fri, 28 Dec 2007 15:18:32 +0000 (15:18 +0000)]
Fix the default value of enable-arrows-always

svn path=/trunk/; revision=19270

18 years agoChain up. This makes it possible to have accelerators tags on GtkDialog
Johan Dahlin [Fri, 28 Dec 2007 10:36:07 +0000 (10:36 +0000)]
Chain up. This makes it possible to have accelerators tags on GtkDialog

2007-12-28  Johan Dahlin  <johan@gnome.org>

* gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
(gtk_dialog_buildable_custom_tag_start): Chain up.
This makes it possible to have accelerators tags on GtkDialog
subclasses.

svn path=/trunk/; revision=19268

18 years agoAdd GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details are shown within...
Mathias Hasselmann [Fri, 28 Dec 2007 09:39:34 +0000 (09:39 +0000)]
Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details are shown within the widget, or jst as tooltip.

* gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
* tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
in flags vbox.

svn path=/trunk/; revision=19267

18 years agoTry more decent appearance of calendar details separator. (#339540)
Mathias Hasselmann [Fri, 28 Dec 2007 09:36:57 +0000 (09:36 +0000)]
Try more decent appearance of calendar details separator. (#339540)

* gtk/gtkcalendar.c: Use different colors for drawing the separator,
and make it short by one pixel on each side.

svn path=/trunk/; revision=19266

18 years agoApply trivial code-style changes from attachement 101101. (#339540)
Mathias Hasselmann [Fri, 28 Dec 2007 09:36:40 +0000 (09:36 +0000)]
Apply trivial code-style changes from attachement 101101. (#339540)

* tests/testcalendar.c: Some updates to current GTK+ code-style.

svn path=/trunk/; revision=19265

18 years agoRestructure testcalendar for testing calendar details. (#339540)
Mathias Hasselmann [Fri, 28 Dec 2007 09:36:21 +0000 (09:36 +0000)]
Restructure testcalendar for testing calendar details. (#339540)

* tests/testcalendar.c: Push code arround for testing calendar details.

svn path=/trunk/; revision=19264

18 years agoImplement GtkTooltip API for calendar details. (#339540)
Mathias Hasselmann [Fri, 28 Dec 2007 09:36:06 +0000 (09:36 +0000)]
Implement GtkTooltip API for calendar details. (#339540)

* gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
Remember detail overflows in calendar_paint_day to show the tooltip
only when neccessary.

svn path=/trunk/; revision=19263

18 years agoWithout setting "detail-width-chars" and "detail-height-rows"
Mathias Hasselmann [Fri, 28 Dec 2007 09:26:38 +0000 (09:26 +0000)]
Without setting "detail-width-chars" and "detail-height-rows"
properties not only the widget has to be redrawn on certain
conditions, but also its size must be recalculated. (#339540)

* gtk/gtkcalendar.c: Add calendar_queue_refresh and call
that function instead of gtk_widget_queue_draw.

svn path=/trunk/; revision=19262

18 years agoConsider details for size-request and expose-event. (#339540)
Mathias Hasselmann [Fri, 28 Dec 2007 09:26:20 +0000 (09:26 +0000)]
Consider details for size-request and expose-event. (#339540)

* gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
is_color_attribute functions. Change gtk_calendar_size_request
and calendar_paint_day to consider and show calender details.

svn path=/trunk/; revision=19261

18 years agoupdated si.po
SANDRA MARAKKALA DANISHKA NAVIN [Fri, 28 Dec 2007 08:30:22 +0000 (08:30 +0000)]
updated si.po

svn path=/trunk/; revision=19260

18 years agoupdated si.po
SANDRA MARAKKALA DANISHKA NAVIN [Fri, 28 Dec 2007 08:28:28 +0000 (08:28 +0000)]
updated si.po

svn path=/trunk/; revision=19259

18 years agoIntroduce local priv variables to reduce ->->
Matthias Clasen [Fri, 28 Dec 2007 06:56:48 +0000 (06:56 +0000)]
Introduce local priv variables to reduce ->->

2007-12-28  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkcombobox.c: Introduce local priv variables to
        reduce ->->

svn path=/trunk/; revision=19258

18 years agoFix the default value of the tearoff-title property
Matthias Clasen [Fri, 28 Dec 2007 05:49:21 +0000 (05:49 +0000)]
Fix the default value of the tearoff-title property

svn path=/trunk/; revision=19257

18 years agoFix the default value for the wrap-mode and font-scale properties.
Matthias Clasen [Fri, 28 Dec 2007 05:32:55 +0000 (05:32 +0000)]
Fix the default value for the wrap-mode and font-scale properties.

2007-12-27  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkcellrenderertext.c: Fix the default value for the
        wrap-mode and font-scale properties.

svn path=/trunk/; revision=19256

18 years agoFix the default value for the ratio property.
Matthias Clasen [Fri, 28 Dec 2007 05:02:29 +0000 (05:02 +0000)]
Fix the default value for the ratio property.

2007-12-27  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkaspectratio.c: Fix the default value for the ratio
        property.

svn path=/trunk/; revision=19255

18 years agoFix 0<>NULL confusion in gtk_signal_connect... defines. (#505708, MINAMI
Matthias Clasen [Fri, 28 Dec 2007 03:46:03 +0000 (03:46 +0000)]
Fix 0<>NULL confusion in gtk_signal_connect... defines. (#505708, MINAMI

2007-12-27  Matthias Clasen  <mclasen@redhat.com>

        * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
        defines.  (#505708,  MINAMI Hirokazu)

svn path=/trunk/; revision=19253

18 years agoInstall gail.pc. Bug #505859.
Christian Persch [Thu, 27 Dec 2007 23:05:11 +0000 (23:05 +0000)]
Install gail.pc. Bug #505859.

svn path=/trunk/; revision=19252

18 years agoAdd infrastructure for GtkCalendar details. (#339540)
Mathias Hasselmann [Thu, 27 Dec 2007 20:41:08 +0000 (20:41 +0000)]
Add infrastructure for GtkCalendar details. (#339540)

* gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
Add "detail-width-chars" and "detail-height-rows" properties,
and gtk_calendar_set_detail_func function.

svn path=/trunk/; revision=19251

18 years agoAdd gtk_border_new to avoid memory allocator confusions when using
Xan Lopez [Thu, 27 Dec 2007 14:04:37 +0000 (14:04 +0000)]
Add gtk_border_new to avoid memory allocator confusions when using

2007-12-27  Xan Lopez  <xan@gnome.org>

* gtk/gtk.symbols:
* gtk/gtkstyle.c (gtk_border_new, gtk_border_copy):

Add gtk_border_new to avoid memory allocator confusions when using
GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)

svn path=/trunk/; revision=19248

18 years agoFir the patch from bug #504886 not to read unitialised memory.
Christian Persch [Thu, 27 Dec 2007 12:09:06 +0000 (12:09 +0000)]
Fir the patch from bug #504886 not to read unitialised memory.

2007-12-27  Christian Persch  <chpe@gnome.org>

* gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from
bug #504886 not to read unitialised memory.

svn path=/trunk/; revision=19247

18 years agoUpdate changelog.
Xan Lopez [Wed, 26 Dec 2007 11:33:37 +0000 (11:33 +0000)]
Update changelog.

svn path=/trunk/; revision=19246

18 years agoTake into account modifications of the inner frame for has_extra_children.
Xan Lopez [Wed, 26 Dec 2007 11:32:47 +0000 (11:32 +0000)]
Take into account modifications of the inner frame for has_extra_children.

svn path=/trunk/; revision=19245

18 years agoWe always chain to the parent size_allocate, no need to do this.
Xan Lopez [Wed, 26 Dec 2007 11:32:16 +0000 (11:32 +0000)]
We always chain to the parent size_allocate, no need to do this.

svn path=/trunk/; revision=19244

18 years agoupdated si.po
SANDRA MARAKKALA DANISHKA NAVIN [Wed, 26 Dec 2007 06:16:01 +0000 (06:16 +0000)]
updated si.po

svn path=/trunk/; revision=19243

18 years agoupdated si.po
SANDRA MARAKKALA DANISHKA NAVIN [Wed, 26 Dec 2007 06:08:02 +0000 (06:08 +0000)]
updated si.po

svn path=/trunk/; revision=19242

18 years agoupdated si.po
SANDRA MARAKKALA DANISHKA NAVIN [Wed, 26 Dec 2007 06:04:41 +0000 (06:04 +0000)]
updated si.po

svn path=/trunk/; revision=19241

18 years agoFix mem leak. Bug #505556.
Christian Persch [Tue, 25 Dec 2007 16:57:25 +0000 (16:57 +0000)]
Fix mem leak. Bug #505556.

svn path=/trunk/; revision=19240

18 years agoInitialise |widget|. Fixes a buglet introduced by the commit from bug
Christian Persch [Tue, 25 Dec 2007 12:04:03 +0000 (12:04 +0000)]
Initialise |widget|. Fixes a buglet introduced by the commit from bug
#505226.

svn path=/trunk/; revision=19239

18 years agoUse G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
Christian Persch [Tue, 25 Dec 2007 10:01:14 +0000 (10:01 +0000)]
Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.

svn path=/trunk/; revision=19238

18 years agoRemove relocations from the atk factories. Remove unused gail_foo_new()
Christian Persch [Tue, 25 Dec 2007 09:29:46 +0000 (09:29 +0000)]
Remove relocations from the atk factories. Remove unused gail_foo_new()

* modules/other/gail/*.[ch]: Remove relocations from the atk
factories. Remove unused gail_foo_new() functions. Fix object
instantiation to be derivation safe by moving initialisation code
from the removed gail_foo_new() functions to the
AtkObjectClass::initialize implementation. Bug #505226.

svn path=/trunk/; revision=19237

18 years agoRemove non-multihead-safe uses of clipboards and settings. (#504722,
Matthias Clasen [Tue, 25 Dec 2007 04:52:13 +0000 (04:52 +0000)]
Remove non-multihead-safe uses of clipboards and settings. (#504722,

2007-12-24  Matthias Clasen  <mclasen@redhat.com>

        * modules/other/gail/gailentry.c:
        * modules/other/gail/gailimage.c:
        * modules/other/gail/gailtextview.c: Remove non-multihead-safe
        uses of clipboards and settings.  (#504722, Christian Persch)

svn path=/trunk/; revision=19236

18 years agoRemove unneeded includes. (#505411, Kazuki IWAMOTO)
Matthias Clasen [Tue, 25 Dec 2007 04:25:38 +0000 (04:25 +0000)]
Remove unneeded includes. (#505411, Kazuki IWAMOTO)

2007-12-24  Matthias Clasen  <mclasen@redhat.com>

        * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
         Kazuki IWAMOTO)

svn path=/trunk/; revision=19235

18 years agoWhen popping up a menu from a treeview cell, use the time and button
Matthias Clasen [Tue, 25 Dec 2007 04:04:21 +0000 (04:04 +0000)]
When popping up a menu from a treeview cell, use the time and button

2007-12-24  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
        use the time and button information from the event.  (#504901,
        Peter Bloomfield)

svn path=/trunk/; revision=19234

18 years agoCheck that the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
Cody Russell [Sun, 23 Dec 2007 21:14:09 +0000 (21:14 +0000)]
Check that the window is mapped before setting SW_RESTORE or SW_MINIMIZE.

2007-12-23  Cody Russell  <bratsche@gnome.org>

        * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
        the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
        Fixes a regression caused by #164537 patch where transient
        windows that are hidden get shown (incorrectly) when their
        parents are minimized. (#504984)

svn path=/trunk/; revision=19231

18 years agoUpdated Arabic Translation by Djihed Afifi.
Djihed Afifi [Sun, 23 Dec 2007 13:59:03 +0000 (13:59 +0000)]
Updated Arabic Translation by Djihed Afifi.

svn path=/trunk/; revision=19230

18 years agoFix compiler warnings. Bug #504701.
Christian Persch [Sun, 23 Dec 2007 12:37:13 +0000 (12:37 +0000)]
Fix compiler warnings. Bug #504701.

svn path=/trunk/; revision=19229

18 years agoInclude <config.h>. Bug #504720.
Christian Persch [Sun, 23 Dec 2007 12:27:33 +0000 (12:27 +0000)]
Include <config.h>. Bug #504720.

svn path=/trunk/; revision=19228

18 years agoUse G_DEFINE_TYPE[_WITH_CODE] instead of hand-coding the get_type functions. Bug...
Christian Persch [Sun, 23 Dec 2007 12:24:59 +0000 (12:24 +0000)]
Use G_DEFINE_TYPE[_WITH_CODE] instead of hand-coding the get_type functions. Bug #504661.

svn path=/trunk/; revision=19227

18 years agopass correct argument to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter*
Xan Lopez [Sun, 23 Dec 2007 01:27:06 +0000 (01:27 +0000)]
pass correct argument to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter*

2007-12-23  Xan Lopez  <xan@gnome.org>

* gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).

Patch by Sadrul Habib Chowdhury (#504804)

svn path=/trunk/; revision=19225

18 years agoLink to gdk and gtk libs. Bug #504645, patch by Li Yuan.
Christian Persch [Sat, 22 Dec 2007 23:19:42 +0000 (23:19 +0000)]
Link to gdk and gtk libs. Bug #504645, patch by Li Yuan.

2007-12-22  Christian Persch  <chpe@gnome.org>

* modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
#504645, patch by Li Yuan.

svn path=/trunk/; revision=19224

18 years agoPlug mem leaks. Bug #504886.
Christian Persch [Sat, 22 Dec 2007 21:03:40 +0000 (21:03 +0000)]
Plug mem leaks. Bug #504886.

2007-12-22  Christian Persch  <chpe@gnome.org>

* gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.

svn path=/trunk/; revision=19223

18 years agoUse gdk_threads_add_idle. Bug #504571.
Christian Persch [Sat, 22 Dec 2007 20:18:13 +0000 (20:18 +0000)]
Use gdk_threads_add_idle. Bug #504571.

svn path=/trunk/; revision=19222

18 years agoChain up the finalizer
Matthias Clasen [Sat, 22 Dec 2007 15:27:13 +0000 (15:27 +0000)]
Chain up the finalizer

svn path=/trunk/; revision=19221

18 years agoPlug leak of destroyed subviews, fixes bug #504753.
Richard Hult [Fri, 21 Dec 2007 20:21:05 +0000 (20:21 +0000)]
Plug leak of destroyed subviews, fixes bug #504753.

2007-12-21  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
Plug leak of destroyed subviews, fixes bug #504753.

svn path=/trunk/; revision=19218

18 years agoUpdated Slovenian translation
Matej Urbančič [Fri, 21 Dec 2007 13:49:51 +0000 (13:49 +0000)]
Updated Slovenian translation

svn path=/trunk/; revision=19217

18 years agoAdd a test for default property values, based on program by Christan Perch
Johan Dahlin [Fri, 21 Dec 2007 01:01:17 +0000 (01:01 +0000)]
Add a test for default property values, based on program by Christan Perch

2007-12-20  Johan Dahlin  <johan@gnome.org>

* tests/Makefile.am (TEST_PROGS):
* tests/defaultvaluetest.c: Add a test for default property values,
based on program by Christan Perch

svn path=/trunk/; revision=19215

18 years agoRefactor to avoid some duplication. Convert toplevel GtkMenu's top popups
Johan Dahlin [Thu, 20 Dec 2007 23:44:18 +0000 (23:44 +0000)]
Refactor to avoid some duplication. Convert toplevel GtkMenu's top popups

2007-12-20  Johan Dahlin  <johan@gnome.org>

* gtk/gtk-builder-convert (GtkBuilderConverter._remove_window):
Refactor to avoid some duplication.
Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
Fixes #504749, Yuri Pimenov

svn path=/trunk/; revision=19213

18 years agoRemove leftovers from old XRandR check. Makes the build work again on
Kristian Rietveld [Thu, 20 Dec 2007 14:49:54 +0000 (14:49 +0000)]
Remove leftovers from old XRandR check. Makes the build work again on

2007-12-20  Kristian Rietveld  <kris@imendio.com>

* configure.in: Remove leftovers from old XRandR check.  Makes
the build work again on systems without xrandr 1.2.

svn path=/trunk/; revision=19211

18 years agoKeep the same libtool version as the standalone libgail-util had. Bug #504643.
Christian Persch [Thu, 20 Dec 2007 14:31:01 +0000 (14:31 +0000)]
Keep the same libtool version as the standalone libgail-util had. Bug #504643.

svn path=/trunk/; revision=19210

18 years agogenerate HTML reports for test-report perf-report full-report.
15:30:09 Tim Janik [Thu, 20 Dec 2007 14:28:37 +0000 (14:28 +0000)]
generate HTML reports for test-report perf-report full-report.

2007-12-20 15:30:09  Tim Janik  <timj@imendio.com>

        * Makefile.decl: generate HTML reports for test-report perf-report full-report.

svn path=/trunk/; revision=19209

18 years agoUpdate for gio API changes
Alexander Larsson [Thu, 20 Dec 2007 13:40:04 +0000 (13:40 +0000)]
Update for gio API changes

2007-12-20  Alexander Larsson  <alexl@redhat.com>

        * gdk/x11/gdkapplaunchcontext-x11.c:
Update for gio API changes

svn path=/trunk/; revision=19208

18 years agoMake manual resizing smoother by processing events after changing the
Richard Hult [Thu, 20 Dec 2007 13:25:37 +0000 (13:25 +0000)]
Make manual resizing smoother by processing events after changing the

2007-12-20  Richard Hult  <richard@imendio.com>

* gdk/quartz/GdkQuartzWindow.c:
* gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
processing events after changing the size.

svn path=/trunk/; revision=19206

18 years agoFix typo in ChangeLog.
Richard Hult [Thu, 20 Dec 2007 12:22:16 +0000 (12:22 +0000)]
Fix typo in ChangeLog.

svn path=/trunk/; revision=19205

18 years agoAdd stub for quartz for fix build.
Richard Hult [Thu, 20 Dec 2007 12:21:51 +0000 (12:21 +0000)]
Add stub for quartz for fix build.

2007-12-20  Richard Hult  <richard@imendio.com>

* modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
Add stub for quartz for fix build.

svn path=/trunk/; revision=19204

18 years agoR modules/other/gail/gailintl.h: Use the stock item's label as the name of
Christian Persch [Thu, 20 Dec 2007 00:22:39 +0000 (00:22 +0000)]
R modules/other/gail/gailintl.h: Use the stock item's label as the name of

2007-12-20  Christian Persch  <chpe@gnome.org>

* modules/other/gail/Makefile.am:
* modules/other/gail/gailimage.c: (gail_image_class_init),
(gail_image_init), (elide_underscores), (gail_image_get_name),
(atk_image_interface_init), (gail_image_finalize):
* modules/other/gail/gailimage.h:
R modules/other/gail/gailintl.h:
* po/POTFILES.skip: Use the stock item's label as the name of the
accessible in gailimage.c. Bug #504246.

svn path=/trunk/; revision=19203

18 years agoCorrect date in ChangeLog entry
Mathias Hasselmann [Thu, 20 Dec 2007 00:02:46 +0000 (00:02 +0000)]
Correct date in ChangeLog entry

svn path=/trunk/; revision=19202

18 years agoAvoid some compiler warnings and remove obsolete code. (#339540)
Mathias Hasselmann [Wed, 19 Dec 2007 22:57:01 +0000 (22:57 +0000)]
Avoid some compiler warnings and remove obsolete code. (#339540)

* gtk/gtkcalendar.c: Change week and year variable in
calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
0" block from calendar_paint_day: The feature in question is handled
few lines above. Cast data returned by gtk_selection_data_get_text()
to (gchar*) in gtk_calendar_drag_data_received.

svn path=/trunk/; revision=19201

18 years agoinclude Makefile.decl to unbreak test rules.
19:54:11 Tim Janik [Wed, 19 Dec 2007 18:52:30 +0000 (18:52 +0000)]
include Makefile.decl to unbreak test rules.

2007-12-19 19:54:11  Tim Janik  <timj@imendio.com>

        * libgail-util/Makefile.am: include Makefile.decl to unbreak test rules.

svn path=/trunk/; revision=19200

18 years agoUpdated Irish translation.
Seán de Búrca [Wed, 19 Dec 2007 17:26:27 +0000 (17:26 +0000)]
Updated Irish translation.

2007-12-19  Seán de Búrca  <sdeburca@svn.gnome.org>

    * ga.po: Updated Irish translation.

svn path=/trunk/; revision=19199

18 years agoinclude Makefile.decl to unbreak test rules.
17:05:31 Tim Janik [Wed, 19 Dec 2007 16:03:34 +0000 (16:03 +0000)]
include Makefile.decl to unbreak test rules.

2007-12-19 17:05:31  Tim Janik  <timj@imendio.com>

        * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.

svn path=/trunk/; revision=19198

18 years agoAdd another call to gtk_builder_add_string after using delayed properties,
Johan Dahlin [Wed, 19 Dec 2007 13:49:29 +0000 (13:49 +0000)]
Add another call to gtk_builder_add_string after using delayed properties,

2007-12-19  Johan Dahlin  <johan@gnome.org>

* tests/buildertest.c (test_object_properties):
Add another call to gtk_builder_add_string after using
delayed properties, as reported in #504393 but already
fixed in #495769.

svn path=/trunk/; revision=19197

18 years agoIntegrate gail into gtk+. Bug #169488.
Christian Persch [Tue, 18 Dec 2007 13:51:12 +0000 (13:51 +0000)]
Integrate gail into gtk+. Bug #169488.

* configure.in:
* docs/reference/Makefile.am:
* docs/reference/libgail-util/*:
* gail-uninstalled.pc.in:
* gail.pc.in:
* modules/Makefile.am:
* modules/other/Makefile.am:
* modules/other/gail/*:
* modules/other/gail/libgail-util/*:
* po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.

svn path=/trunk/; revision=19196

18 years agoAdd a gtk-im-module GTK setting
Matthias Clasen [Tue, 18 Dec 2007 03:24:17 +0000 (03:24 +0000)]
Add a gtk-im-module GTK setting

2007-12-17  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtksettings.c: Add a gtk-im-module GTK setting
        * gdk/win32/gdkproperty-win32.c:
        * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.

        * gtk/gtkimmodule.[hc]:
        * gtk/gtkimmulticontext.[hc]: When determining the default context,
        look at the gtk-im-module setting, and listen for changes to the
        setting.  (#502446, Akira Tagoh)

svn path=/trunk/; revision=19195

18 years agosv.po: Swedish translation updated
Daniel Nylander [Mon, 17 Dec 2007 18:19:20 +0000 (18:19 +0000)]
sv.po: Swedish translation updated

svn path=/trunk/; revision=19192

18 years agosv.po: Updated Swedish translation
Daniel Nylander [Mon, 17 Dec 2007 15:54:24 +0000 (15:54 +0000)]
sv.po: Updated Swedish translation

svn path=/trunk/; revision=19190

18 years agouse a weak pointer to set last_window to NULL as soon as it's destroyed.
Kristian Rietveld [Mon, 17 Dec 2007 15:33:45 +0000 (15:33 +0000)]
use a weak pointer to set last_window to NULL as soon as it's destroyed.

2007-12-17  Kristian Rietveld  <kris@imendio.com>

* gtk/gtktooltip.c (gtk_tooltip_finalize),
(gtk_tooltip_set_last_window): use a weak pointer to set last_window
to NULL as soon as it's destroyed.  (#496546, patch from
Benjamin Berg).

svn path=/trunk/; revision=19189

18 years agoalways determine what arrow to show if show_sort_indicator is true.
Kristian Rietveld [Mon, 17 Dec 2007 13:25:43 +0000 (13:25 +0000)]
always determine what arrow to show if show_sort_indicator is true.

2007-12-17  Kristian Rietveld  <kris@imendio.com>

* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
always determine what arrow to show if show_sort_indicator is true.
(#352738, Chris Vine).

svn path=/trunk/; revision=19188

18 years agoPrevent assertion failure in gtk_paned_find_neighbours. (#503824,
Mathias Hasselmann [Sun, 16 Dec 2007 19:15:17 +0000 (19:15 +0000)]
Prevent assertion failure in gtk_paned_find_neighbours. (#503824,

Sébastien Granjoux)

* gtk/gtkpaned.c: Call gtk_container_forall instead of
gtk_container_foreach in get_child_panes.

svn path=/trunk/; revision=19186

18 years agoPlug leak: When reordering the info in the list the old node is removed
Xan Lopez [Sat, 15 Dec 2007 11:15:19 +0000 (11:15 +0000)]
Plug leak: When reordering the info in the list the old node is removed

2007-12-15  Xan Lopez  <xan.lopez@nokia.com>

* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):

Plug leak: When reordering the info in the list the old node is
removed but not freed. (#503569)

svn path=/trunk/; revision=19184

18 years agoUse u32 instead of __u32 and u8 instead of __u8 as the other types are
Sebastian Dröge [Sat, 15 Dec 2007 05:01:30 +0000 (05:01 +0000)]
Use u32 instead of __u32 and u8 instead of __u8 as the other types are

* gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
Use u32 instead of __u32 and u8 instead of __u8 as the other types
are deprecated since DirectFB 1.0.0. If compiling with an older
version define the new type name to the old types. Fixes bug #503190.

svn path=/trunk/; revision=19182

18 years agoSuggest g_signal_connect (..., "realize", ...) instead of
Ray Strode [Fri, 14 Dec 2007 17:06:08 +0000 (17:06 +0000)]
Suggest g_signal_connect (..., "realize", ...) instead of

2007-12-14  Ray Strode  <rstrode@redhat.com>

* gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
instead of g_signal_connect_after (..., "realize", ...) as an
alternative to gtk_widget_realize () (bug 503537).

svn path=/trunk/; revision=19181

18 years agogdk/gdkinternals.h #include <gio/gio.h> instead of individual files.
Michael Natterer [Fri, 14 Dec 2007 11:20:10 +0000 (11:20 +0000)]
gdk/gdkinternals.h #include <gio/gio.h> instead of individual files.

2007-12-14  Michael Natterer  <mitch@imendio.com>

* gdk/gdkinternals.h
* gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
individual files.

* gdk/gdkapplaunchcontext.c
* gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
header already includes everything now.

svn path=/trunk/; revision=19180

18 years agoCorrect "Since:" tags for GtkPageSetup and GtkPrintSettings as
Mathias Hasselmann [Fri, 14 Dec 2007 11:07:23 +0000 (11:07 +0000)]
Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
next stable release shall be 2.16, not 2.14 - even if disagree.

* gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/

svn path=/trunk/; revision=19179

18 years agoRemove comments I forgot in docs/reference/gtk/gtk-docs.sgml.
Mathias Hasselmann [Fri, 14 Dec 2007 11:03:41 +0000 (11:03 +0000)]
Remove comments I forgot in docs/reference/gtk/gtk-docs.sgml.

svn path=/trunk/; revision=19178

18 years agoChange GtkToolItem to retrieve its properties from GtkToolShell interface,
Mathias Hasselmann [Fri, 14 Dec 2007 10:57:46 +0000 (10:57 +0000)]
Change GtkToolItem to retrieve its properties from GtkToolShell interface,
instead of relying on being child of a GtkToolbar. (#5034079)

* gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
* docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
* gtk/gtktoolbar.c: Implement GtkToolShellIface.
* gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
* gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
Take section docs from template file and update them for GtkToolShell.
* gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
* gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.

svn path=/trunk/; revision=19177

18 years agoExtract loading of GtkPageSetup and GtkPrintSettings from their *_new_*()
Mathias Hasselmann [Fri, 14 Dec 2007 09:02:54 +0000 (09:02 +0000)]
Extract loading of GtkPageSetup and GtkPrintSettings from their *_new_*()
functions and move that code into separate *_load_*() functions (#475565).

* gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
gtk_print_settings_load_file and gtk_print_settings_load_key_file.
Change the matching *_new_*() functions to use those functions.

svn path=/trunk/; revision=19176

18 years agoClose an api gap in tooltips
Matthias Clasen [Fri, 14 Dec 2007 05:00:51 +0000 (05:00 +0000)]
Close an api gap in tooltips

svn path=/trunk/; revision=19175

18 years agoadded tests for insertion functions.
Kristian Rietveld [Fri, 14 Dec 2007 00:52:04 +0000 (00:52 +0000)]
added tests for insertion functions.

2007-12-14  Kristian Rietveld  <kris@imendio.com>

* gtk/tests/liststore.c:
* gtk/tests/treestore.c: added tests for insertion functions.

svn path=/trunk/; revision=19174